package com.pojo;

import com.fasterxml.jackson.annotation.JsonAlias;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import java.io.Serializable;
import java.math.BigDecimal;
@Document(indexName = "fantuan1",type = "shop")
public class Shop implements Serializable {
 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.shop_id
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @Id
 @JsonAlias(value = "shop_id")
 private Integer shopId;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.img
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "img")
 private String img;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.shop_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "shop_name")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String shopName;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.divide_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "divide_name")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String divideName;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.star
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "star")
 private Integer star;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.environment
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "environment")
 @Field(type = FieldType.Float)
 private Float environment;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.taste
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "taste")
 @Field(type = FieldType.Float)
 private Float taste;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.quality
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "quality")
 @Field(type = FieldType.Float)
 private Float quality;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.price
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "price")
 @Field(type = FieldType.Float)
 private BigDecimal price;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.shop_telno
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 private String shopTelno;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.business_hours
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 private String businessHours;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.food_type
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "food_type")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String foodType;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.city
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
/* @JsonAlias(value = "city")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")*/
 private String city;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.fuzzy_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "fuzzy_address")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String fuzzyAddress;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.detail_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "detail_address")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String detailAddress;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.recommended_dishes
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "recommended_dishes")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String recommendedDishes;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.atmophere
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "atmophere")
 @Field(type = FieldType.Text,analyzer = "ik_max_word")
 private String atmophere;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.work1
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "work1")
 private String work1;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.work2
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "work2")
 private String work2;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database column shop.status
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @JsonAlias(value = "status")
 private Byte status;

 /**
  * This field was generated by MyBatis Generator.
  * This field corresponds to the database table shop
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 private static final long serialVersionUID = 1L;

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.shop_id
  *
  * @return the value of shop.shop_id
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Integer getShopId() {
  return shopId;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.shop_id
  *
  * @param shopId the value for shop.shop_id
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setShopId(Integer shopId) {
  this.shopId = shopId;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.img
  *
  * @return the value of shop.img
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getImg() {
  return img;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.img
  *
  * @param img the value for shop.img
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setImg(String img) {
  this.img = img == null ? null : img.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.shop_name
  *
  * @return the value of shop.shop_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getShopName() {
  return shopName;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.shop_name
  *
  * @param shopName the value for shop.shop_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setShopName(String shopName) {
  this.shopName = shopName == null ? null : shopName.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.divide_name
  *
  * @return the value of shop.divide_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getDivideName() {
  return divideName;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.divide_name
  *
  * @param divideName the value for shop.divide_name
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setDivideName(String divideName) {
  this.divideName = divideName == null ? null : divideName.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.star
  *
  * @return the value of shop.star
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Integer getStar() {
  return star;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.star
  *
  * @param star the value for shop.star
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setStar(Integer star) {
  this.star = star;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.environment
  *
  * @return the value of shop.environment
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Float getEnvironment() {
  return environment;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.environment
  *
  * @param environment the value for shop.environment
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setEnvironment(Float environment) {
  this.environment = environment;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.taste
  *
  * @return the value of shop.taste
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Float getTaste() {
  return taste;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.taste
  *
  * @param taste the value for shop.taste
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setTaste(Float taste) {
  this.taste = taste;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.quality
  *
  * @return the value of shop.quality
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Float getQuality() {
  return quality;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.quality
  *
  * @param quality the value for shop.quality
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setQuality(Float quality) {
  this.quality = quality;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.price
  *
  * @return the value of shop.price
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public BigDecimal getPrice() {
  return price;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.price
  *
  * @param price the value for shop.price
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setPrice(BigDecimal price) {
  this.price = price;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.shop_telno
  *
  * @return the value of shop.shop_telno
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getShopTelno() {
  return shopTelno;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.shop_telno
  *
  * @param shopTelno the value for shop.shop_telno
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setShopTelno(String shopTelno) {
  this.shopTelno = shopTelno == null ? null : shopTelno.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.business_hours
  *
  * @return the value of shop.business_hours
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getBusinessHours() {
  return businessHours;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.business_hours
  *
  * @param businessHours the value for shop.business_hours
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setBusinessHours(String businessHours) {
  this.businessHours = businessHours == null ? null : businessHours.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.food_type
  *
  * @return the value of shop.food_type
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getFoodType() {
  return foodType;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.food_type
  *
  * @param foodType the value for shop.food_type
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setFoodType(String foodType) {
  this.foodType = foodType == null ? null : foodType.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.city
  *
  * @return the value of shop.city
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getCity() {
  return city;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.city
  *
  * @param city the value for shop.city
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setCity(String city) {
  this.city = city == null ? null : city.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.fuzzy_address
  *
  * @return the value of shop.fuzzy_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getFuzzyAddress() {
  return fuzzyAddress;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.fuzzy_address
  *
  * @param fuzzyAddress the value for shop.fuzzy_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setFuzzyAddress(String fuzzyAddress) {
  this.fuzzyAddress = fuzzyAddress == null ? null : fuzzyAddress.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.detail_address
  *
  * @return the value of shop.detail_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getDetailAddress() {
  return detailAddress;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.detail_address
  *
  * @param detailAddress the value for shop.detail_address
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setDetailAddress(String detailAddress) {
  this.detailAddress = detailAddress == null ? null : detailAddress.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.recommended_dishes
  *
  * @return the value of shop.recommended_dishes
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getRecommendedDishes() {
  return recommendedDishes;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.recommended_dishes
  *
  * @param recommendedDishes the value for shop.recommended_dishes
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setRecommendedDishes(String recommendedDishes) {
  this.recommendedDishes = recommendedDishes == null ? null : recommendedDishes.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.atmophere
  *
  * @return the value of shop.atmophere
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getAtmophere() {
  return atmophere;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.atmophere
  *
  * @param atmophere the value for shop.atmophere
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setAtmophere(String atmophere) {
  this.atmophere = atmophere == null ? null : atmophere.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.work1
  *
  * @return the value of shop.work1
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getWork1() {
  return work1;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.work1
  *
  * @param work1 the value for shop.work1
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setWork1(String work1) {
  this.work1 = work1 == null ? null : work1.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.work2
  *
  * @return the value of shop.work2
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public String getWork2() {
  return work2;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.work2
  *
  * @param work2 the value for shop.work2
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setWork2(String work2) {
  this.work2 = work2 == null ? null : work2.trim();
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method returns the value of the database column shop.status
  *
  * @return the value of shop.status
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public Byte getStatus() {
  return status;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method sets the value of the database column shop.status
  *
  * @param status the value for shop.status
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 public void setStatus(Byte status) {
  this.status = status;
 }

 /**
  * This method was generated by MyBatis Generator.
  * This method corresponds to the database table shop
  *
  * @mbggenerated Fri Mar 20 20:47:25 CST 2020
  */
 @Override
 public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append(getClass().getSimpleName());
  sb.append(" [");
  sb.append("Hash = ").append(hashCode());
  sb.append(", shopId=").append(shopId);
  sb.append(", img=").append(img);
  sb.append(", shopName=").append(shopName);
  sb.append(", divideName=").append(divideName);
  sb.append(", star=").append(star);
  sb.append(", environment=").append(environment);
  sb.append(", taste=").append(taste);
  sb.append(", quality=").append(quality);
  sb.append(", price=").append(price);
  sb.append(", shopTelno=").append(shopTelno);
  sb.append(", businessHours=").append(businessHours);
  sb.append(", foodType=").append(foodType);
  sb.append(", city=").append(city);
  sb.append(", fuzzyAddress=").append(fuzzyAddress);
  sb.append(", detailAddress=").append(detailAddress);
  sb.append(", recommendedDishes=").append(recommendedDishes);
  sb.append(", atmophere=").append(atmophere);
  sb.append(", work1=").append(work1);
  sb.append(", work2=").append(work2);
  sb.append(", status=").append(status);
  sb.append(", serialVersionUID=").append(serialVersionUID);
  sb.append("]");
  return sb.toString();
 }
}